<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>妖怪商社 会员注册</title>
<link rel="stylesheet" type="text/css" href="${css }/imtshop.css">
<script src="${js }/jquery-1.10.2.js"></script>
<script src="${js}/jquery.validate.js" type="text/javascript"></script>
<script src="${js}/dwz.regional.zh.js" type="text/javascript"></script>
<!-- 验证提示的中文 -->
<script type="text/javascript">
	$(function() {
		$('#registerForm').validate();
	});
</script>
</head>
<body>
	<div id="main">
		<%@include file="WEB-INF/view/commons/header.jsp"%>
		<div id='registerbox'>
			<br> <br> <br>
			<h1>会员注册</h1>
			<br>
			<form method='post' action="${ctx }/register" id="registerForm">
				<table align='center'>
					<tr>
						<td align='right'>邮件地址：</td>
						<td align='left'><input type='text' name='email' value=""
							size='25' class="required email" maxlength='100'></td>
					</tr>
					<tr>
						<td align='right'>用户名：</td>
						<td align='left'><input type='text' name='name' value="" class="required" minlength="4" maxlength="20"
							size='25' maxlength='50'></td>
					</tr>
					<tr>
						<td align='right'>真实姓名（6位）：</td>
						<td align='left'><input type='text' name='realName' value=""  class="required" minlength="4" maxlength="20"
							size='25' maxlength='15'></td>
					</tr>
					<tr>
						<td align='right'>密码（最大长度15位）：</td>
						<td align='left'><input type='password' name='password' class="required" minlength="4" maxlength="20"
							value="" size='25' maxlength='15'></td>
					</tr>
					<tr>
						<td align='right'>密保问题：</td>
						<td align='left'><input type='text' name='question' value="" size='25' class="required"></td>
					</tr>
					<tr>
						<td align='right'>密保答案：</td>
						<td align='left'><input type='text' name='answer' value="${param.answer }" size='25' class="required"></td>
					</tr>
					<tr>
						<td align='right'>
							<input type="submit" name="submit" value="提交">
						</td>
						<td align='center'>
							<input type="reset" name="reset" value="重置">
						</td>
					</tr>
				</table>
			</form>
		</div>
		<%@include file="WEB-INF/view/commons/footer.jsp"%>
	</div>
</body>
</html>
